package com.whz.bus.configuration;

import org.springframework.context.annotation.Import;
import com.whz.bus.consumer.DataBaseChangeRecordEvent;

import java.lang.annotation.*;

/**
 * 启用debezium 同步数据库 binlog数据
 * <p>数据库变化的数据会以事件发布,请订阅 {@link DataBaseChangeRecordEvent}</p>
 *
 * @author whz
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({ DebeziumInitConfiguration.class})
public @interface EnableDebeziumSync {
}